<?php

namespace app\admin\controller;

use app\admin\model\channel\Channel;

class Channels extends Base
{



    public function list()
    {


        return view('channel/list');

    }

    public function ajaxList(): \think\response\Json
    {

        $result=Channel::select();

        return $this->success($result);
    }

}